flowchart TD
  subgraph sg0["Basic test"]
    direction TB
    subgraph sg1["This is a named statement"]
      direction TB
      n0{"This is a named statement"}
      class n0 decisionNode;
      n1["Then Statement"]
      n2["Else Statement"]
    end
  end
  n0 --> n1
  n0 --> n2
%%__BAML_SPANMAP__={"n0":{"file_path":"tests/validation_files/headers/basic_if.baml","start_line":5,"start":4,"end_line":5,"end":33},"n1":{"file_path":"tests/validation_files/headers/basic_if.baml","start_line":7,"start":8,"end_line":7,"end":26},"n2":{"file_path":"tests/validation_files/headers/basic_if.baml","start_line":10,"start":8,"end_line":10,"end":26}}
  click n0 call bamlMermaidNodeClick() "Go to source"
  click n1 call bamlMermaidNodeClick() "Go to source"
  click n2 call bamlMermaidNodeClick() "Go to source"